]<template>
  <van-grid :column-num="3">
    <van-grid-item v-for="item in list" :key="item.id" @click="$router.push(`/show?id=${item.id}`)">
      <van-image :src="`http://124.223.14.236:8060/${item.pic}`" height="100" />
      <p>{{ item.title }}</p>
    </van-grid-item>
  </van-grid>
</template>

<script>
export default {
  props: {
    list: {
      type: Array,
      default: () => [],
    },
  },
};
</script>

<style>
</style>
